package org.zcl.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.zcl.entity.Log;
import org.zcl.mapper.LogMapper;
import org.zcl.service.LogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zcl
 * @since 2021-11-25
 */
@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, Log> implements LogService {

    @Override
    public void addLog(Log log) {
        baseMapper.insert(log);
    }
}
